package com.zkzx.common.driver.model;

import com.zkzx.common.driver.vo.DriverAlidityVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 北京中科智兴物联科技有限公司 @版权所有
 *
 * @Author: zhaoyihe@zkraising.com
 * @Date: 2021/05/08/9:34
 * @Description:
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "DriverLicenseVO", description = "司机驾驶证信息")
public class DriverLicenseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *驾驶证ID
     */
    @ApiModelProperty(value = "驾驶证ID", name = "id",example = "1")
    private Integer id;

    /**
     *司机ID
     */
    @ApiModelProperty(value = "司机ID", name = "driver_id",example = "1")
    private Integer driverId;

    /**
     *发证机关
     */
    @ApiModelProperty(value = "发证机关",example = "北京市机动车驾驶中心")
    private String authority;

    /**
     *准假车型
     */
    @ApiModelProperty(value = "准假车型",example = "C1")
    private String type;

    /**
     *驾证状态长期短期，返回给前端的
     */
    @ApiModelProperty(value = "驾证状态长期短期",name = "driver_alidity_VO",example = "长期")
    private DriverAlidityVO driverAlidityVO;

    /**
     *驾驶证有效期开始日期
     */
    @ApiModelProperty(value = "驾驶证有效期开始日期", name = "start_time",example = "2021-05-08")
    private String startTime;

    /**
     *驾驶证有效期截止日期
     */
    @ApiModelProperty(value = "驾驶证有效期截止日期", name = "end_time",example = "2027-05-08")
    private String endTime;

    /**
     *驾驶证首页图片
     */
    @ApiModelProperty(value = "驾驶证首页图片", name = "front_pic",example = "/upload/pdf20210508.jpg")
    private String frontPic;

    /**
     *驾驶证副页图片
     */
    @ApiModelProperty(value = "驾驶证副页图片", name = "subpage_pic",example = "/upload/pdf20210508.jpg")
    private String subpagePic;
}
